home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 25 / AACD 25.iso / AACD / Online / IB-TablePrint / FastStrip / FastStrip.doc next >
Encoding:
Text File  |  1999-06-27  |  1.3 KB  |  48 lines

  1. FastStrip V1.1 by Jason Frecknall 1998
  2. Mail: jay@blidworth.demon.co.uk
  3.  
  4. Introduction:
  5.  
  6. This program will search through a file and remove all instances of a
  7. particular character or optionally replace it with another.  The main reason
  8. for writing this program is because of another which did exactly the same,
  9. except that it was very slow (even on my 060) and also to learn how to use
  10. ReadArgs().  My program is many times faster as it is coded in assembler.
  11. The main use is for stripping PC return chrs from files as some files
  12. originating from PC have both types.  On my 060-50mhz it processes files at
  13. a rate of around 3mb per second.
  14.  
  15. Usage:
  16.  
  17. FILE/A,VALUE1/N/A,VALUE2/N
  18.  
  19. FILE is the file to work on.  Once the characters have been removed it is
  20. written back over itself.
  21.  
  22. VALUE1 is the character to search for.
  23. A decimal value is required in the range of 0-255.
  24.  
  25. VALUE2 is optionally the character to replace VALUE1 with.
  26. A decimal value is required in the range of 0-255.
  27.  
  28. Useful values:
  29.  
  30.     Value    ASCII
  31.  
  32.     32    space
  33.     10    return
  34.     9    Tab
  35.     13    PC return
  36.  
  37. I was planning to make it possible to input hex values, but the modifier /N
  38. (number) doesn't automatically convert them.  If I did add it, it would mean
  39. changing the numeric fields to strings.  If you know otherwise, let me know.
  40.  
  41.  
  42. History:
  43.  
  44.     v1.0    First release
  45.  
  46.     v1.1    Optimised more
  47.         Version string had wrong program name in it
  48.